package top.haichi.webpaper.service;

import org.springframework.web.multipart.MultipartFile;
import top.haichi.webpaper.entity.Paper;
import top.haichi.webpaper.entity.Result;
import top.haichi.webpaper.entity.Student;

public interface FileService {

    /**
     * 上传学生头像
     * @param id
     * @param file
     * @return
     */
    public Result uploadPortrait(String id , MultipartFile file);

    public Result uploadPaper(String id, Paper paper,MultipartFile file);

}
